<%@ page import="Unit2.controller.TestControllerForWeb" %>
<%@ page contentType="text/html;charset=windows-1251" language="java" %>
<%!TestControllerForWeb controllerForWeb;%>
<% controllerForWeb=(TestControllerForWeb)session.getAttribute("Controller");%>

<html>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>Tester</title>


<link href="css/my.css" rel="stylesheet" type="text/css" />
<style type="text/css">
    body {
        background-image: url(images/paper_fibers.png);
        background-repeat: repeat;
    }
</style>
</head>
<body>
<%   if (request.getParameter("answer")!=null){

        response.sendRedirect("index.jsp");
        return;
    }%>

<div style="width: 50%; margin: 0 auto; text-align: center;">

    <div id="question-form"  >

        <h3><%=controllerForWeb.userName+" "%>тест завершил(a)</h3>

        <fieldset>

            <form  method="post">
                <h2> <%=controllerForWeb.points+" "%>очков</h2>


                <input type="submit" name="answer" value="Выход">



            </form>

        </fieldset>

    </div>

</div>

</body>
</html>